package com.sth.springcloud.mapper;

import com.sth.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;

/**
 * @Author: sitianhong
 * @Description:
 * @Since: create in 2021/6/12 0012 13:42
 */
@Mapper
public interface PaymentMapper {

    public int create(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);
}
